package com.wocai.jrt.orgadmin.approve.service.impl;

import java.util.List;

import javax.inject.Inject;
import javax.inject.Named;

import com.wocai.jrt.orgadmin.approve.dao.ApproveRoleGroupMemberDao;
import com.wocai.jrt.orgadmin.approve.model.ApproveRoleGroupMember;
import com.wocai.jrt.orgadmin.approve.model.ApproveRoleGroupMemberBean;
import com.wocai.jrt.orgadmin.approve.service.spi.ApproveRoleGroupMemberService;
import com.vteba.service.generic.impl.MyBatisServiceImpl;
import com.vteba.tx.jdbc.mybatis.spi.BaseDao;

/**
 * 审批角色团队成员附件相关的service业务实现。
 * @author yinlei
 * @date 2016-3-17 17:33:59
 */
@Named
public class ApproveRoleGroupMemberServiceImpl extends MyBatisServiceImpl<ApproveRoleGroupMember, ApproveRoleGroupMemberBean, String> implements ApproveRoleGroupMemberService {
	// 添加了方法后，记得改为private
	protected ApproveRoleGroupMemberDao approveRoleGroupMemberDao;
	
	@Override
	@Inject
	public void setBaseDao(BaseDao<ApproveRoleGroupMember, ApproveRoleGroupMemberBean, String> approveRoleGroupMemberDao) {
		this.baseDao = approveRoleGroupMemberDao;
		this.approveRoleGroupMemberDao = (ApproveRoleGroupMemberDao) approveRoleGroupMemberDao;
	}
	
	/**
	 * 获取审批角色团队员工列表
	 */
	@Override
	public List<ApproveRoleGroupMember> getApproveGroupEmpList(ApproveRoleGroupMember model) {
		return approveRoleGroupMemberDao.getApproveGroupEmpList(model);
	}

}
